<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<style>
#output tr{
	height:20pt;
	text-align:center;
}
.outputHeder{
	background: #6dfff2;
}
</style>

<table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#a0a0a0" width="800">

	<table id="output" align="center" width="720" border="0" cellspacing="0" cellpadding="2">
		<tr class="outputHeder">
			<td>주문코드</td>
			<td>제품분류</td>
			<td>제품이름</td>
			<td>수량</td>
			<td>금액</td>
			<td>배송상태</td>
		</tr>
		<c:if test="${count==0 }">
		<tr>
			<td colspan="6" align="center">주문하신 내역이 없습니다.</td>
		</tr>
	</c:if>
		<c:forEach var="list" items="${buyList }">
		<tr>
			<td>${list.b_code }</td>
			<td>${list.itemCommand.i_category }</td>
			<td>${list.itemCommand.i_name }</td>
			<td>${list.b_ea	 }</td>
			<td>${list.itemCommand.i_price * list.b_ea }</td>
			<td>${list.b_way }</td>
		</tr>
		</c:forEach>
		<tr>
		<td align="center" colspan="6">${pagingHtml }</td>
	</tr>
	</table>
</table>
